package cn.wh.beans.factory.support;

import cn.wh.beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * @author: wh
 * @create: 2022-08-18 14:29
 * @description 实例化策略
 **/
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor constructor,Object[] agrs);

}
